import {createContext, useContext} from "react";

export const CameraViewContext = createContext({
    sceneWidth: 0,
    sceneHeight: 0,
    cameraViewOffsetX: 0,
    cameraViewWidth: 0,
    cameraViewHeight: 0
});

export const useCameraView = () => useContext(CameraViewContext);